package main

import "fmt"

const helloPrefix = "Hello "
const spanishHelloPrefix = "Hola "
const spanish = "Spanish"
const french = "French"
const frenchHelloPrefix = "Bonjour "
const engHelloPrefix = "Hello "

func Hello(name string, language string) string {
	if name == "" {
		name = "World"
	}
	return greetPrefix(language) + name
}
func greetPrefix(language string) (prefix string) {
	switch language {
	case spanish:
		prefix = spanishHelloPrefix
	case french:
		prefix = frenchHelloPrefix
	default:
		prefix = engHelloPrefix
	}
	return

}
func main() {
	fmt.Println(Hello("", ""))
}
